<?php
class NewFriendDeleteAction extends SzAbstractAction {
    protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_ARRAY,
    );

    /**
     * @param $userId
     * @param $reqTime
     * @return SzResponse
     */
    public function execute($userId,$friendIds) {
        return $this->buildResponse(
            NewFriendService::get()->delFriend($userId,$friendIds)
        );
    }
}